package com.chance.cc.crawler.prod.command.schedule.news.kr36;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.kr36.Kr36ArticleRealtimeCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;


public class Kr36CrawlerJobSchedule extends CommonCrawlerJobSchedule {
    public static void main(String[] args) {
        //信息采集
        publicCrawlerScheduleJob(Kr36ArticleRealtimeCrawlerScheduleJob.crawlerScheduler());
        //delCrawlerJob(Kr36ArticleRealtimeCrawlerScheduleJob.crawlerScheduler());
    }

    private static void publicCrawlerScheduleJob(CrawlerJob crawlerScheduler) {
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerScheduler.generateCrawlerTriggerKey(),device_name_3);
    }

    public static void delCrawlerJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.deleteCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_3);
    }
}
